/*
 * Copyright (c) 2022, tyustli
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-03-08     tyustli      first implementation
 */

#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>

struct persion_info
{
    char name[16];
    int age;
    int year;
};

int main(int argc, char *argv[])
{
    struct persion_info person1;

    printf("input age:\r\n");
    scanf("%d", &person1.age);

    printf("input year:\r\n");
    scanf("%d", &person1.year);

    printf("input name:\r\n");
    scanf("%s", person1.name);

    printf("your info is:%d %d %s\r\n", person1.age, person1.year, person1.name);

    return 0;
}
/********************** end of file **************************/
